password = input('请输入您的密码：')
str1 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
num = '0123456789'
flag1 = 0
flag2 = 0
flag3 = 0
len1 = len(password)
for i in range(len1):
    if password[i] in str1:
        flag1 = 1
        continue
    elif password[i] in num:
        flag2 = 1
        continue
    else:
        print('输入不符合要求，不能构成密码')
        flag3 = 1
        break
while flag3 == 0:
    if (len1 < 8) and (flag1 + flag2 == 1):
        print('低级密码')
        break
    elif (len1 >= 8) and (flag1 + flag2 == 2):
        print('高级密码')
        break
    else:
        print('输入不符合要求，不能构成密码')
        break
